@echo off
REM HEX Parser Python版本运行脚本
REM 用法: run_hex_parser.bat <hex文件或单行记录>

if "%1"=="" (
    echo Usage: run_hex_parser.bat ^<hex_file_or_single_record^>
    echo Examples:
    echo   run_hex_parser.bat M6_HMI_LOADER.hex
    echo   run_hex_parser.bat :04000005080003A547
    exit /b 1
)

python hex_parser.py %*
